package com.expert;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by Mankind on 2018/5/31.
 */
@Controller
public class FrontController {
    /**
     * 导航至主界面
     * @return
     * @throws Exception
     */
    @RequestMapping(value ={"/index.html","/"},produces = "text/html;charset=utf-8",method = RequestMethod.GET)
    public String login() throws Exception{
        return "index";
    }
}
